package org.jeecg.basic.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.*;
import com.github.jeffreyning.mybatisplus.anno.MppMultiId;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 产品标签模板
 * @Author: LiCY
 * @Date:   2023-08-06
 * @Version: V1.0
 */
@Data
@TableName("mes_label_cfg")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="mes_label_cfg对象", description="产品标签模板")
public class MesLabelCfg implements Serializable {
    private static final long serialVersionUID = 1L;

	/**产线或产线组*/
	@Excel(name = "产线或产线组", width = 15, dictTable = "mes_line_cfg", dicText = "LINE", dicCode = "LINE")
	@Dict(dictTable = "mes_line_cfg", dicText = "LINE", dicCode = "LINE")
    @ApiModelProperty(value = "产线或产线组")
    @MppMultiId
    @TableField(value = "line")
    private String line;
	/**产品或产品组*/
	@Excel(name = "产品或产品组", width = 15)
    @ApiModelProperty(value = "产品或产品组")
    @MppMultiId
    @TableField(value = "partno")
    private String partno;
	/**条码名称*/
	@Excel(name = "条码名称", width = 15)
    @ApiModelProperty(value = "条码名称")
    @MppMultiId
    @TableField(value = "LABEL_NAME")
    private String labelName;
	/**模板文件名*/
	@Excel(name = "模板文件名", width = 15)
    @ApiModelProperty(value = "模板文件名")
    private String labelFile;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
	/**时间戳*/
	@Excel(name = "时间戳", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "时间戳")
    private Date ctime;
}
